package me.flyray.bsin.facade.service;

import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import java.util.Map;

@Path("repositoryService")
public interface WorkflowService {

    /**
     * 部署流程定义
     */
    @POST
    @Path(" deploy")
    @Produces("application/json")
    Map<String,Object>  deploy(Map<String, Object> requestMap);


    /**
     * 部署流程定义
     */
    @POST
    @Path(" startMedicalAdviceProcessInstance")
    @Produces("application/json")
    Map<String,Object>  startMedicalAdviceProcessInstance(Map<String, Object> requestMap);
}
